package com.google.project.client.Service;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.google.project.shared.DailyReportDTO;
import com.google.project.shared.DailyReportDetailDTO;

@RemoteServiceRelativePath("dailyReport")
public interface DailyReportService extends RemoteService {
	DailyReportDTO addDailyReport(DailyReportDTO dailyReport,String projectId,List<DailyReportDetailDTO> listReportDetail);
	List<DailyReportDTO> getDailyReportByProjectId(String ProjectId);
	List<DailyReportDTO> getDailyReportByPM(String userId,int status);
	List<DailyReportDTO> getAllDailyReport();
	void updateStatusDailyReport(String id,int status);
	boolean checkDateReport(List<DailyReportDetailDTO> listReport,
			Long dateReport);
}
